<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model app\models\GkyGroupMsg */

$this->title = $model->title;
$this->params['breadcrumbs'][] = '群发消息';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="gky-group-msg-view">


    <p>
        <?= Html::a('更新', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('删除', ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
        <?= Html::a('返回', ['index'], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('发送', ['/weixin/group','msgid'=>$model->id], ['class' => 'btn btn-primary']) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'weid',
            'wename',
            'msg:ntext',
            'addtime',
            'sendtime',
            'sendcount',
            'title',
            'media_id',
        ],
    ]) ?>

</div>
